import type { RouteRecordRaw } from 'vue-router'

import { createRouter, createWebHashHistory } from 'vue-router'
const routes: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'Home',
    redirect: '/scenario',
    component: () => import('@/views/Home/hom-warp.vue'),
    children: [
      {
        path: '/scenario',
        name: 'Scenario',
        component: () => import('@/views/Scenario/scenario-web.vue')
      }
    ]
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})
export default router
